package com.igeek.service;

import com.igeek.dao.UserDaoImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl {
    @Autowired
    @Qualifier("userDaoImpl")
    private UserDaoImpl userDaoImpl;
    //保存业务方法
    public void save(){
        System.out.println("UserServiceImpl业务层被调用了。。。");
        userDaoImpl.save();
    }
}
